﻿if (typeof Axis == "undefined") Axis = {};
if (typeof Axis.View == "undefined") Axis.View = {};
if (typeof Axis.View.Project == "undefined") Axis.View.Project = {};
Axis.View.Project.Detail = {
    Init: function () {
        $.CLogin.Check();

    },
    SetRulerPercent: function (value) {
        value = parseFloat(value) || 0;
        $(".project-ruler-percent-current").height((value * 6.9));
    }
};
$(function () {
    Axis.View.Project.Detail.Init();
    NavigationActive(2);
});

function SetRulerPercent(number) {
    Axis.View.Project.Detail.SetRulerPercent(number);
}